package com.example.demo.mapper;

import com.example.demo.entity.teacher;
import com.example.demo.entity.userSec;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface userSecMapper {

    Integer updateUser(@Param("userSec")userSec userSec);


    Integer updateLeader(@Param("userId")String userId,@Param("teacherId")Integer teacherId);

    public List<userSec> selectAll();

    public List<teacher> selectTeacher();



}
